package org.unicat.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import org.unicat.model.Student;
import org.unicat.model.Teacher;

import java.util.List;

public interface StudentMapper {
    public List<Student> selectAll();

    public Student selectOne(String name);

    public void addStudent(Student student);

    public void updateStudent(Student student);

    public void deleteStudent(Student student);
}
